Add Hashable instance for Options SVG R2 #45
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on diagrams/diagrams-lib#146.
This pull request:
hashable > 1.1
(part of the HP)blaze-markup
(was already an transitive dependency viablaze-svg
)DeriveGeneric
extension (since GHC 7.2)Hashable
instance forOptions SVG R2
; needed for some pending changes/reorganization todiagrams-builder
.Note that there is also an orphan
Hashable
instance forMarkupM
fromblaze-markup
. Perhaps we could submit it upstream toblaze-markup
, but that would mean adding ahashable
dependency.Note also the upper bound on
blaze-markup
is too restrictive; we can loosen it in a separate commit (assuming it works fine).